///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Oct  8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifndef __MYFRAME_H__
#define __MYFRAME_H__

#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/panel.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/stattext.h>
#include <wx/button.h>
#include <wx/statusbr.h>
#include <wx/frame.h>
#include "myimagepanel.h"
#include "../Camera/mycamera.h"

///////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////
/// Class MyFrame
///////////////////////////////////////////////////////////////////////////////

class MyCamera;

class MyFrame : public wxFrame 
{
	private:
	
	protected:
		wxPanel* m_panel1;
		wxPanel* m_panel12;
		//wxPanel* m_panDisplay;
		MyImagePanel* m_panDisplay1;
		MyImagePanel* m_panDisplay2;
		MyImagePanel* m_panDisplay3;
		MyImagePanel* m_panDisplay4;
		wxPanel* m_panel2;
		wxPanel* m_panel7;
		wxStaticText* m_staticText1;
		wxStaticText* m_stxtCamStatus1;
		wxButton* m_btCamOpen1;
		wxButton* m_btCapture1;
		wxPanel* m_panel8;
		wxStaticText* m_staticText11;
		wxStaticText* m_stxtCamStatus2;
		wxButton* m_btCamOpen2;
		wxButton* m_btCapture2;
		wxPanel* m_panel9;
		wxStaticText* m_staticText12;
		wxStaticText* m_stxtCamStatus3;
		wxButton* m_btCamOpen3;
		wxButton* m_btCapture3;
		wxPanel* m_panel10;
		wxButton* m_btCaptureP1;
		wxPanel* m_panel11;
		wxButton* m_btCaptureP2;
		wxPanel* m_panel101;
		wxButton* m_btShowCorners;
		wxStatusBar* m_statusBar;
		
		// Virtual event handlers, overide them in your derived class
		virtual void OpenCam1( wxCommandEvent& event );// { event.Skip(); }
		virtual void CaptureCam1( wxCommandEvent& event );// { event.Skip(); }
		virtual void OpenCam2( wxCommandEvent& event );// { event.Skip(); }
		virtual void CaptureCam2( wxCommandEvent& event );// { event.Skip(); }
		virtual void OpenCam3( wxCommandEvent& event );// { event.Skip(); }
		virtual void CaptureCam3( wxCommandEvent& event );// { event.Skip(); }
		virtual void CapturePair1( wxCommandEvent& event );// { event.Skip(); }
		virtual void CapturePair2( wxCommandEvent& event );// { event.Skip(); }
		virtual void ShowCorners( wxCommandEvent& event );// { event.Skip(); }
		
	public:
		
		MyFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Camera Calibration"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 669,479 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
		
		~MyFrame();

	public:
		MyCamera *m_camera;

	public:
		MyImagePanel* GetImagePanel1();
		MyImagePanel* GetImagePanel2();
		MyImagePanel* GetImagePanel3();

	private:
		wxString GenStatus(String identity, int num);
	
};

#endif //__MYFRAME_H__
